using System;
using System.Collections.Generic;
using System.Data.Services;
using System.Linq;
using System.ServiceModel.Web;
using System.Web;

namespace Web_ADONETDS
{
    public class NorthwindDataService : DataService<NORTHWNDEntities>
    {
        public static void
          InitializeService(IDataServiceConfiguration config)
        {

            config.SetEntitySetAccessRule(*,
              EntitySetRights.AllRead);
        }
    }
}
